]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/network: Fix quicksettings enterprise connections
authorMitchell Augustin <mitchell.augustin@canonical.com>
Mon, 11 Aug 2025 19:21:40 +0000 (14:21 -0500)
committerMarge Bot <marge-bot@gnome.org>
Tue, 19 Aug 2025 18:14:20 +0000 (18:14 +0000)
In d6779f34dac6c80e178a308314fe59884a65f383, the switch
to shell_app_activate_action() was made without
also wrapping the action parameter in an av variant.
This patch adjusts network.js to use the correct av
variant type when attempting to connect to an
enterprise AP from the quicksettings panel.

Fixes d6779f34dac6c80e178a308314fe59884a65f383
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8590

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3834>

js/ui/status/network.js

index ea6026da2c7c267cee467e228a96d563490459e1..e46b09b72c10a1748156da6af77901698a8691b1 100644 (file)
@@ -64,8 +64,8 @@ function ssidToLabel(ssid) {
 }
 
 function launchSettingsPanel(panel, ...args) {
-    const param = new GLib.Variant('(sav)',
-        [panel, args.map(s => new GLib.Variant('s', s))]);
+    const param = new GLib.Variant('av',
+        [new GLib.Variant('(sav)', [panel, args.map(s => new GLib.Variant('s', s))])]);
 
     const app = Shell.AppSystem.get_default()
         .lookup_app('org.gnome.Settings.desktop');